﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using FreeSql.DataAnnotations;

using tcm.entity.System;

namespace tcm.entity
{
    [Table(Name = "tcm_sys_role")]
    public class SysRole : BaseEntity
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string role_name { get; set; }

        /// <summary>
        /// 角色权限
        /// </summary>
        public string role_key { get; set; }

        /// <summary>
        /// 角色排序
        /// </summary>
        public int role_sort { get; set; }

        /// <summary>
        /// 帐号状态（1正常 0停用）
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 删除标志（0代表存在 2代表删除）
        /// </summary>
        public int is_delete { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }


        /// <summary>
        /// 菜单列表
        /// </summary>
        [FreeSql.DataAnnotations.Column(IsIgnore =true)]
        public string menuIds { get; set; }

    }
}
